@/*
select标签中各个参数的说明:
name : select的名称
id : select的id
underline : 是否带分割线
onclick:
@*/
<div class="form-group">
    <label class="col-sm-4 control-label" style="text-align: left; padding-left: 30px">${name}</label>
    <div class="col-sm-8">
        <div class="input-group">

            @if(isNotEmpty(disabled) && disabled == 'true'){
                <input type="text" class="form-control" id="${id}" value="${value!}" name="${id}" disabled="true" style="${style!}" placeholder="选择或输入编号" >
                <span class="input-group-btn">
                        <button class="btn btn-primary" disabled="disabled" type="button">选择</button>
                </span>

            @}else{
            <input type="text" class="form-control" id="${id}" value="${value!}" disabled name="${id}" style="${style!}" placeholder="请选择员工" >
            <span class="input-group-btn">
                    <button class="btn btn-primary" id="selectEmpBtn" onclick="${onclick}" type="button">选择</button>
                </span>
            @}
        </div>
    </div>
</div>
@if(isNotEmpty(underline) && underline == 'true'){
<div class="hr-line-dashed"></div>
@}